package epg;

import java.util.Hashtable;

public class Table {
	private Hashtable<String, Obj>  hashTable = new Hashtable<String, Obj>();
	
	public boolean add(String name, Obj obj)
	{
		if(hashTable.containsKey(name))
				return false;
		hashTable.put(name, obj);
		return true;
	}
	
	public boolean contains(String name)
	{
		if(hashTable.containsKey(name))
			return true;
		else
			return false;
	}

}
